//
//  AppTools.h
//  豆瓣
//
//  Created by dllo on 15/10/28.
//  Copyright © 2015年 李涵. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AppToolsAFN)(id result);

@interface AppTools : NSObject

+ (void)getAFN:(NSString *)url block:(AppToolsAFN)block;

+ (NSString *)flattenHTML:(NSString *)html;

+ (CGFloat)heightForContent:(NSString *)content font:(CGFloat)font width:(CGFloat)width;

+ (NSString *)timestampExchange:(NSInteger)time;

+ (NSString *)prettyDateWithReference:(NSDate *)reference;
@end
